from rest_framework import serializers
from .models import *


class UserSer(serializers.ModelSerializer):
    class Meta:
        model = UserModel
        fields = '__all__'

    img = serializers.ImageField(use_url=False)


class UserInfoSer(serializers.ModelSerializer):
    class Meta:
        model = UserInfoModel
        fields = '__all__'
